<tem>
  <!-- 新增类型 -->
  <div class="template xd-template" id="terminal_event_lib_edit_tpl">
    <div class="panel-body no-tb-padder">
      <form class="bs-example form-horizontal xs-form" id="update_form">
        <input type="hidden" data-id="id" id="assetTypeId">
        <div class="form-group">
          <label class="col-lg-3 control-label required">事件名称</label>
          <div class="col-lg-8">
            <input type="text" class="form-control input-sm" maxlength="50" id="assetTypeName" data-id="name" reg="notempty"
              message="{notempty:'事件名称不能为空，且首尾不能有空格'}" disabled>
          </div>
        </div>
        <div class="form-group">
          <label class="col-lg-3 control-label required">事件等级</label>
          <div class="col-lg-8">
            <select class="form-control input-sm" data-type="select" data-id="categoryId" reg="notempty" id="assetType">
              <option value="1">很高</option>
              <option value="2">高</option>
              <option value="3">中</option>
              <option value="4">低</option>
              <option value="5">很低</option>
						</select>
          </div>
        </div>
      </form>
    </div>
  </div>





  <div class="template xd-template" id="terminal_directive_lib_edit_tpl">
    <div class="panel-body no-tb-padder">
      <form class="bs-example form-horizontal xs-form" id="add_asset_class">
        <div class="form-group">
          <label class="col-lg-3 control-label required">指令名称：</label>
          <div class="col-lg-8">
            <input type="text" class="form-control input-sm" maxlength="50" data-id="name" reg="notempty,byteLength:100" message="{notempty:'资产类别名称不能为空，且首尾不能有空格',byteLength:format('资产类别名称不能超过100个字符')}"
              id="assetClassName" disabled>
          </div>
        </div>
        <div class="form-group">
          <label class="col-lg-3 control-label required">指令URL：</label>
          <div class="col-lg-8">
            <input type="text" class="form-control input-sm" maxlength="100" data-id="name" reg="notempty,url" message="{notempty:'URL不能为空，且首尾不能有空格',url:'URL格式不正确'}"
              id="assetClassName">
          </div>
        </div>

        <div class="form-group">
          <label class="col-lg-3 control-label required">指令方法：</label>
          <div class="col-lg-8">
            <select class="form-control input-sm" data-type="select" data-id="categoryId" reg="notempty" id="directiveMethods">
              <option value="1">POST</option>
              <option value="2">GET</option>
						</select>
          </div>
        </div>

        <div class="form-group">
          <label class="col-lg-3 control-label">指令参数：</label>
          <div class="col-lg-8">
            <textarea class="form-control" rows="" cols="" data-id="" maxlength="100" reg="maxLength:200" id="directiveOPtions">{}</textarea>
          </div>
        </div>

        <div class="form-group">
          <label class="col-lg-3 control-label">指令说明：</label>
          <div class="col-lg-8">
            <textarea class="form-control" rows="" cols="" data-id="remark" maxlength="100" reg="maxLength:100"></textarea>
          </div>
        </div>
      </form>
    </div>
  </div>
</tem>